-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework the histogram activity chart #5685
Conversation
rowanseymour
commented
Nov 22, 2024
•
edited
Loading
edited
- Max date is always today.
- Min date is at least 90 days in past.
- Bucket to months or weeks depending on how long we have data for.
@@ -2888,9 +2887,6 @@ def test_results(self): | |||
self.assertEqual("Color", counts[0]["name"]) | |||
self.assertEqual(2, counts[0]["total"]) | |||
|
|||
FlowCRUDL.ActivityChart.HISTOGRAM_MIN = 0 | |||
FlowCRUDL.ActivityChart.PERIOD_MIN = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are always zero...
@@ -1279,13 +1281,11 @@ def render_to_response(self, context, **response_kwargs): | |||
|
|||
return JsonResponse( | |||
{ | |||
"start_date": start_date, | |||
"end_date": end_date, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not used
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5685 +/- ##
===========================================
- Coverage 100.00% 99.99% -0.01%
===========================================
Files 571 571
Lines 25923 25920 -3
===========================================
- Hits 25923 25919 -4
- Misses 0 1 +1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
984145c
to
59ccac8
Compare
59ccac8
to
da88a3c
Compare